get_timer

This returns the time since your game started.

语法:

get_timer();


返回: Real(实数)


描述

This function returns the time that your game has been running on the chosen platform in microseconds (there are 1 million microseconds per second).


例如:

time = get_timer();

This would store the timer value in the variable "time".


上一页: Date And Time Functions
Next:delta_time
© Copyright YoYo Games Ltd. 2018 All Rights Reserved